Skip to content

Add wc_CoseSign1_Sign_ex with an untagged output option - #65

Open
aidangarske wants to merge 1 commit into
wolfSSL:mainfrom
aidangarske:cose-sign1-untagged-only
Open

Add wc_CoseSign1_Sign_ex with an untagged output option#65
aidangarske wants to merge 1 commit into
wolfSSL:mainfrom
aidangarske:cose-sign1-untagged-only

Conversation

@aidangarske

@aidangarske aidangarske commented Jul 28, 2026

Copy link
Copy Markdown
Member

RFC 9052 allows a COSE_Sign1 to be carried without its tag 18 prefix, and some consumers require that form, but the library could only emit tagged output.

Adds wc_CoseSign1_Sign_ex, which takes a flags bitmask with WOLFCOSE_SIGN1_UNTAGGED to omit the tag. wc_CoseSign1_Sign is unchanged for existing callers and forwards with flags of zero.

wolfBoot DICE attestation PR wolfSSL/wolfBoot#831 uses this explicit option together with delegated signing from PR #59. The temporary integration branch composes both changes without changing either PR's merge order or release state.

Copilot AI review requested due to automatic review settings July 28, 2026 22:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants